The audit log feature requires an existing external database in which to store the vault event information. By default, the Meridian FDA Module does not create this database automatically. The database must be created by a database administrator. Scripts for SQL Server and Oracle are installed by the Meridian Enterprise setup program for your convenience that will create the database and the necessary schema. The scripts must be run by a user with sufficient rights to perform the actions in the scripts.
Warning If the subscription database already exists, the scripts will delete it first and then recreate it.
To create an audit log database in SQL Server:
Copy the following script file from the Meridian Enterprise application server to the SQL Server host computer:
C:\Program Files\BC-Meridian\Program\BC Audit\BCAuditTrailDB.sql
Run the script using the sqlcmd command-line program and one of the following examples:
sqlcmd -S <ServerName> -E -i BCAuditTrailDB.sql -v DatabaseName = "<AuditDatabaseName>"
Or to use different credentials than your own:
sqlcmd -S <ServerName> -U <UserName> -P <Password> -i BCAuditTrailDB.sql -v DatabaseName = "<AuditDatabaseName>"
To create an audit log database in Oracle:
Copy the contents of the following folder on the Meridian Enterprise application server to the Oracle host computer:
C:\Program Files\BC-Meridian\Program\BC Audit
Run the following command:
run @ORACreateTables.sql
Related concepts
Related tasks
Configuring the audit log connection
Localizing the audit log database
Installing the audit log viewer
Related information